package com.homework.model;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/9/17 21:12
 */
@Repository
@Data
@Accessors(chain = true)
public class User {
    private int userId ;
    private String username ;
    private String password ;
    private String salt ;
    private Date createTime ;
    private List<Role> roles ;
    private  String phone;
    private int sex;
    private int age;
    private String img;
    private int status;
    private Date update_time;
    private Date last_login_time;
    private  String nickname;
    private String email;



}
